'''
Created on 2013 12 5

@author: xxz
'''

import urllib

class webpage:
    '''
    classdocs
    '''


    def __init__(self):
        '''
        Constructor
        '''
    
    def getpage(self,url):
        date = urllib.urlopen(url)
        print date.read()
        

i1 = webpage()
i1.getpage('http://images.baidu.com/channel/wallpaper?fm=index#%E7%83%AD%E9%97%A8%E6%8E%A8%E8%8D%90&%E7%BC%96%E8%BE%91%E6%8E%A8%E8%8D%90') 